package cn.com.hhrcw.enterprise.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 简历库
 *
 * @author admin
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class ResumeVO implements Serializable {
    private String id;

    /**
     * 职位名称
     */
    private String jobName;

    /**
     * 应聘者名称
     */
    private String jobSeekerName;

    /**
     * 头像
     */
    @Dict(dicCode = "id", dicText = "url", dictTable = "file")
    private String photoId;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 工作经验
     */
    private Integer workYear;

    /**
     * 当前状态
     */
    @Dict(replace = {"0_离职", "1_在职-月内到岗", "2_在职-考虑机会", "3_在职-暂不考虑"})
    private Integer state;

    /**
     * 职位id
     */
    private String jobId;

    /**
     * 应聘时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 期望
     */
    private List<CvWorkIntentionVO> intentions;

    /**
     * 教育经历
     */
    private CvUserEduInfoVO userEduInfo;

    /**
     * 工作经历
     */
    private List<CvUserWorkInfoVO> userWorkInfos;
}
